/**
 * Copyright (c) Freelens Authors. All rights reserved.
 * Copyright (c) OpenLens Authors. All rights reserved.
 * Licensed under MIT License. See LICENSE in root directory for more information.
 */

$vpa-status-colors: (
  RecommendationProvided: var(--colorOk),
  LowConfidence: var(--colorInfo),
  FetchingHistory: var(--colorInfo),
  NoPodsMatched: var(--colorInfo),
  RecommendationMissing: var(--colorInfo),
  ConfigUnsupported: var(--colorError),
  UpdateModeUnsupported: var(--colorError),
  UpdateInProgress: var(--colorWarning),
);

@mixin vpa-status-bgc {
  @each $status, $color in $vpa-status-colors {
    &.#{$status} {
      background: $color;
      color: white;
    }
  }
}
